package cn.jit.support;

import java.io.IOException;
import java.util.Properties;

import cn.jit.util.PropertiesUtil;

public class MailProperties {
	private volatile static Properties properties = null;
	
	public synchronized static Properties getProperties() throws IOException {
		if (properties == null) {
			properties = PropertiesUtil.loadProperties("/mail.properties");
		}
		return properties;
	}
}
